package com.ruoyi.insurance.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 详细漏洞对象 concrete_bug
 * 
 * @author ruoyi
 * @date 2024-09-09
 */
public class ConcreteBug extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 漏洞ID */
    private Long bugId;

    /** 保前评测 */
    @Excel(name = "保前评测")
    private Long evaluateBeforeInsuranceId;

    /** 单个漏洞记录 */
    @Excel(name = "单个漏洞记录")
    private String singleBug;

    /** 整改期限 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "整改期限", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rectifyDeadlineTime;

    /** 整改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "整改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rectifyTime;

    /** 是否整改 */
    @Excel(name = "是否整改")
    private Long isRectify;

    public void setBugId(Long bugId) 
    {
        this.bugId = bugId;
    }

    public Long getBugId() 
    {
        return bugId;
    }
    public void setEvaluateBeforeInsuranceId(Long evaluateBeforeInsuranceId) 
    {
        this.evaluateBeforeInsuranceId = evaluateBeforeInsuranceId;
    }

    public Long getEvaluateBeforeInsuranceId() 
    {
        return evaluateBeforeInsuranceId;
    }
    public void setSingleBug(String singleBug) 
    {
        this.singleBug = singleBug;
    }

    public String getSingleBug() 
    {
        return singleBug;
    }
    public void setRectifyDeadlineTime(Date rectifyDeadlineTime) 
    {
        this.rectifyDeadlineTime = rectifyDeadlineTime;
    }

    public Date getRectifyDeadlineTime() 
    {
        return rectifyDeadlineTime;
    }
    public void setRectifyTime(Date rectifyTime) 
    {
        this.rectifyTime = rectifyTime;
    }

    public Date getRectifyTime() 
    {
        return rectifyTime;
    }
    public void setIsRectify(Long isRectify) 
    {
        this.isRectify = isRectify;
    }

    public Long getIsRectify() 
    {
        return isRectify;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bugId", getBugId())
            .append("evaluateBeforeInsuranceId", getEvaluateBeforeInsuranceId())
            .append("singleBug", getSingleBug())
            .append("rectifyDeadlineTime", getRectifyDeadlineTime())
            .append("rectifyTime", getRectifyTime())
            .append("isRectify", getIsRectify())
            .toString();
    }
}
